<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="pojo.*,dao.*,Service.*,Servlet.*,java.util.*"%>

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>
</head>
<body style="border-top: 2px">
<form method="post" action="" id="listform">
	<div class="panel admin-panel">
   <div class="panel-head"><strong class="icon-reorder">教研成果</strong></div>
   <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        <li> <a class="button border-main icon-plus-square-o" href="keyan.jsp"> 新增教研成果</a> </li>
        <if condition="$iscid eq 1">
        </if>
       
      </ul>
    </div>
    <table class="table table-hover text-center">
      <tr>
        <th width="5%">序号</th>
        <th>成果名称</th>
        <th>成果主持人</th>
        <th>所属单位</th>
        <th>项目来源</th>
        <th>立项时间</th>
        <th>成果级别</th>
		<th>验收/鉴定/结项时间</th>
		<th>操作</th>
      </tr>
      <volist name="list" id="vo">
        <tr>
        <%
		PageBean<Research> pb = (PageBean<Research>)(request.getAttribute("pb"));
		List<Research> List=pb.getList();
	%>
	<%
for(Research p:List){
%>
          <td><%=p.getId() %></td>
          <td><a href="ProjectDetail.html"><font color="#00CC99"><%=p.getSname() %></font></a></td>
          <td><%=p.getEmcee() %></td>
          <td><%=p.getUnit() %></td>
          <td><%=p.getPsource() %></td>
          <td><%=p.getTime() %></td>
		  <td><%=p.getLevel() %></td>
		  <td><%=p.getAtime() %></td>
		  <td>修改</td>
           </tr>
           
           <%} %>
          <td colspan="8">
        	<div class="pagelist"> 
        	<%int CPage= pb.currentPage;%>
        	<a href="<%=request.getContextPath()%>/ProjectServlet?method=showAll&pageSize=5&currentPage=<%=CPage-1%>">上一页</a> 
        	<%int maxPage= pb.totalPage;%>
        	<%
			for(int i=1;i<=maxPage;i++){
			%>
        	<a href="<%=request.getContextPath()%>/ProjectServlet?method=showAll&pageSize=5&currentPage=<%=i%>">
			<%=i%></a>
        	<%}%>
        	<a href="<%=request.getContextPath()%>/ProjectServlet?method=showAll&pageSize=5&currentPage=<%=CPage+1%>">下一页</a>
        	<a href="<%=request.getContextPath()%>/ProjectServlet?method=showAll&pageSize=5&currentPage=<%=maxPage%>">尾页</a> 
        	</div>
        </td>
    </table>
   </div>
   </div>
  </div>
</form>
</body>
</html>